// samsting : this file is auto create.

#include "Slb/2014-05-15/DescribeServerCertificatesResponse.h"

namespace aliyun { namespace Slb {

DescribeServerCertificatesResponse::DescribeServerCertificatesResponse() {
}

const string& DescribeServerCertificatesResponse::ServerCertificate::GetServerCertificateId(void) const {
  return ServerCertificateId_;
}

const string& DescribeServerCertificatesResponse::ServerCertificate::GetFingerprint(void) const {
  return Fingerprint_;
}

const string& DescribeServerCertificatesResponse::ServerCertificate::GetServerCertificateName(void) const {
  return ServerCertificateName_;
}

const string& DescribeServerCertificatesResponse::ServerCertificate::GetRegionId(void) const {
  return RegionId_;
}

const string& DescribeServerCertificatesResponse::ServerCertificate::GetRegionIdAlias(void) const {
  return RegionIdAlias_;
}

const std::vector<DescribeServerCertificatesResponse::ServerCertificate>& DescribeServerCertificatesResponse::GetServerCertificates(void) const {
  return ServerCertificates_;
}

const char* DescribeServerCertificatesResponse::BaseKey(void) {
  return "DescribeServerCertificatesResponse";
}

void DescribeServerCertificatesResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int ServerCertificates__length = 0;
  UnmarshallerInt(ServerCertificates__length, response_map, "DescribeServerCertificatesResponse.ServerCertificates.Length");
  if(ServerCertificates__length >= 0) {
    ServerCertificates_.resize(ServerCertificates__length);
    for(int i1 = 0; i1 < ServerCertificates__length; i1++) {
      UnmarshallerString(ServerCertificates_[i1].ServerCertificateId_, response_map, "DescribeServerCertificatesResponse.ServerCertificates["+string_ValueOfInt(i1)+"].ServerCertificateId");
      UnmarshallerString(ServerCertificates_[i1].Fingerprint_, response_map, "DescribeServerCertificatesResponse.ServerCertificates["+string_ValueOfInt(i1)+"].Fingerprint");
      UnmarshallerString(ServerCertificates_[i1].ServerCertificateName_, response_map, "DescribeServerCertificatesResponse.ServerCertificates["+string_ValueOfInt(i1)+"].ServerCertificateName");
      UnmarshallerString(ServerCertificates_[i1].RegionId_, response_map, "DescribeServerCertificatesResponse.ServerCertificates["+string_ValueOfInt(i1)+"].RegionId");
      UnmarshallerString(ServerCertificates_[i1].RegionIdAlias_, response_map, "DescribeServerCertificatesResponse.ServerCertificates["+string_ValueOfInt(i1)+"].RegionIdAlias");
    } // for(int i1 = 0; i1 < ServerCertificates__length; i1++) {
  } // if(ServerCertificates__length >= 0) {

}


} } // namespace aliyun { namespace Slb {

// end of file 
